import babelpolyfill from 'babel-polyfill'
import Vue from 'vue'
import store from './vuex'
import router from './router'
import App from './App'
import ConfigPlugin from 'src/common/plugins/configPlugin'

import ElementUI from 'element-ui'
import NProgress from 'nprogress'

import 'nprogress/nprogress.css'
import 'element-ui/lib/theme-default/index.css'

Vue.use(ElementUI)
Vue.use(ConfigPlugin)

NProgress.configure({
  showSpinner: false
});

var vm = new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
